package com.example.mapper;

import com.example.pojo.Blog;

import java.util.List;
import java.util.Map;

public interface BlogMapper {

    Blog selectById(String id);

    int selectAllCount();

    List<Blog> selectByPage(Map<String, Object> page);

    List<Blog> selectByIf(Map<String, Object> params);

    List<Blog> selectByWhere(Map<String, Object> params);

    int updateByBlog(Blog blog);

    List<Blog> selectByList(List<String> ids);

    List<Blog> selectByMap(Map<String, Object> params);
}
